/* font-family: 'Shadows Into Light', cursive; */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* 字体初始化 */
p,span{
    font-family: 'Shadows Into Light', cursive;
    font-weight: 800;
    font-size: 20px;
}

.container{
    width: 100%;
    min-height: 100vh;
    background: #05dea4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial{
    width: 90%;
    max-width: 800px;
    margin: auto;
}
.testimonial-text{
    background: #2c3333;
    color: #fff; 
    width: 100%;
    height: 350px;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 15px 20px rgba(0,0,0,0.2);
}
  .user-text{
    width: 80%;
    text-align: center;
    line-height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    /* 首先隐藏 */
    display: none; 
 } 

 .user-text .icon-baojiaquotation2,
 .user-text .icon-baojiaquotation{
    font-size: 30px;
    margin-bottom: 50px;
    margin-top: 20px;
 }
 .user-text span{
    display: block;
    font-size: 13px;
    margin-top: 70px;
    font-weight: 600;
 }

 .testimonial-pic{
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
 }

 .user-pic{
    width: 75px;
    height: 75px;
    padding: 5px;
    border-radius: 50%;
    margin: 10px;
    cursor: pointer;
    background-size: auto;
    background-position: center;
    /* 解决图片变形 */
    object-fit: cover;
    transition: all 0.5s linear;
 }

 .user-text.active-text{
    display: block;
    animation: moveup 0.5s linear forwards;
 }
.user-pic.active-pic{
    width: 100px;
    height: 100px;
    border: 4px solid #2c3333;
}

/* 文字从下往上效果 */
@keyframes moveup{
    0%{
        margin-top: 10%;
    }
    100%{
        margin-top: 0;
    }
}




